<template>
	<navigatorComp title="账号与安全" bgcColor="#121512" fontColor="#fff"></navigatorComp>

	<view class="account_funcList">
		<view class="account_funcItem" @click="goUrl('/subPages/mine/setting/editPwd')">
			修改登录密码
			<image src="http://112.124.50.179:8888/imgs/mine/arrow-right.png" mode=""></image>
		</view>
		<view class="account_funcItem" @click="goUrl('/subPages/mine/setting/closeAccount')">
			注销账号
			<image src="http://112.124.50.179:8888/imgs/mine/arrow-right.png" mode=""></image>
		</view>
	</view>
</template>

<script setup>
import { onLoad } from '@dcloudio/uni-app';
import { ref, reactive } from 'vue';
import navigatorComp from '/components/navigator/index.vue';

const goUrl = (url) => {
	uni.navigateTo({
		url: url
	});
};
</script>

<style lang="scss">
page {
	background-color: #121512;
	/* #ifdef H5 */
	padding-top: 0;
	/* #endif */
}

.account_funcList {
	margin: 24rpx 32rpx;

	.account_funcItem {
		width: 100%;
		height: 104rpx;
		background: #292b2a;
		border-radius: 8rpx;
		padding: 32rpx 24rpx 32rpx 32rpx;
		box-sizing: border-box;
		display: flex;
		align-items: center;
		justify-content: space-between;
		font-weight: 400;
		font-size: 28rpx;
		color: #ffffff;
		line-height: 33rpx;
		margin-bottom: 24rpx;

		image {
			width: 32rpx;
			height: 32rpx;
		}
	}
}
</style>
